<!DOCTYPE html>
<head>
    <meta charset='utf-8'>
    <meta http-equiv='Access-Control-Allow-Origin' content='*' />
    </title>ideliver</title>
	<script type='text/javascript' src='js/jquery-2.1.3.min.js'></script>
	<script type='text/javascript' src='js/logic.js'></script>
	<script type='text/javascript'>
	var left = 9;
	var messageType = 'browseShops';
	var dataObj = new bridgeData(messageType);
	var data = JSON.stringify(dataObj);
	function timeReduce() {
		if(left == 0)
		{
			clearInterval(interval);
			$("#left").val(left);
			if(window.ideliver)
			{
				window.ideliver.messageFromJS(data);
			}
			else
			{
				log('JS send data',data);
				bridge.send(data, function(responseData) {
					log('JS got response', responseData);
				});
			}
		}
		$("#ret_2").val("浏览店铺" + left--);
	}
	$(document).ready(function() {
				$("#ret_1").val("  重  试  ");
				interval = setInterval(timeReduce, 1000);
			});
	</script>
</head>
<body style="margin: 0: auto; padding: 0 auto; text-align: center; background-image: url('nonetback.png');">
	<table style="margin: 0 auto; width: 100%; padding-top: 20%;">
		<tr>
			<td width="100%" colspan="2">
				<img style="width: 30%; margin: 0: auto;" src="404.png" />
			</td>
		</tr>
		<tr>
			<td width="100%" colspan="2">
				<p style="font-size: 1.5em; color: #888888;">
					网页有问题，请稍候重试
					<br />
					<br />
					<br />
					<br />
				</p>
			</td>
		</tr>
		<tr>
			<td width="50%">
				<input type="button" id='ret_1' messageType='tryAgain' style="font-size: 2em; border-style: solid; border-color: #34b893; color: #34b893; border-radius: 4px; background-color: #ffffff;" />
			</td>
			<td width="50%">
				<input type="button" id='ret_2' messageType='browseShops' style="font-size: 2em; border-style: solid; border-color: #34b893; color: #34b893; border-radius: 4px; background-color: #ffffff;" value="浏览店铺9" />
			</td>
		</tr>
		<input type="hidden" id='left' messageType='browseShops' />
	</table>
</body>
